package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.ApptupianDao;
import com.bootdo.system.domain.ApptupianDO;
import com.bootdo.system.service.ApptupianService;



@Service
public class ApptupianServiceImpl implements ApptupianService {
	@Autowired
	private ApptupianDao apptupianDao;
	
	@Override
	public ApptupianDO get(Integer id){
		return apptupianDao.get(id);
	}
	
	@Override
	public List<ApptupianDO> list(Map<String, Object> map){
		return apptupianDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return apptupianDao.count(map);
	}
	
	@Override
	public int save(ApptupianDO apptupian){
		return apptupianDao.save(apptupian);
	}
	
	@Override
	public int update(ApptupianDO apptupian){
		return apptupianDao.update(apptupian);
	}
	
	@Override
	public int remove(Integer id){
		return apptupianDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return apptupianDao.batchRemove(ids);
	}
	
}
